/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.hcht.xrlh.zfdxktitle.entity;

import org.hibernate.validator.constraints.Length;

import com.hcht.xrlh.sx.entity.DrSx;
import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 执法对象属性设置Entity
 * @author lrz
 * @version 2016-12-20
 */
public class DrZfdxkTitle extends DataEntity<DrZfdxkTitle> {
	
	private static final long serialVersionUID = 1L;
	private String sxId;		// 事项主键
	private Long dxTXh;		// 序号
	private String dxTMc;		// 内容
	private DrSx drSx;			//事项主表
	
	
	public DrSx getDrSx() {
		return drSx;
	}

	public void setDrSx(DrSx drSx) {
		this.drSx = drSx;
	}

	public DrZfdxkTitle() {
		super();
	}

	public DrZfdxkTitle(String id){
		super(id);
	}

	@Length(min=0, max=64, message="事项主键长度必须介于 0 和 64 之间")
	public String getSxId() {
		return sxId;
	}

	public void setSxId(String sxId) {
		this.sxId = sxId;
	}
	
	public Long getDxTXh() {
		return dxTXh;
	}

	public void setDxTXh(Long dxTXh) {
		this.dxTXh = dxTXh;
	}
	
	@Length(min=0, max=255, message="内容长度必须介于 0 和 255 之间")
	public String getDxTMc() {
		return dxTMc;
	}

	public void setDxTMc(String dxTMc) {
		this.dxTMc = dxTMc;
	}
	
}